/* 1. Import Modern Google Fonts */
@import url('https://googleapis.com');

/* 2. Global Setup & CSS Variables */
:root {
  /* Font Variables */
  --body-font: 'Inter', system-ui, -apple-system, sans-serif;
  --heading-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Color Variables */
  --color-black: #111111;       /* Softened black slightly to reduce screen eye strain */
  --color-dark-red: #8B0000;    /* DarkRed */
  --color-royal-blue: #4169E1;  /* RoyalBlue */
  --color-border: #A6BD89;      /* Your original accent border color */
}

/* Base page container designed for effortless reading and document scanning */
body {
  font-family: var(--body-font);
  color: var(--color-black);
  line-height: 1.6;
  max-width: 850px;     /* Comfortable width for reading lists and tables */
  margin: 0 auto;       /* Centers the content on large screens */
  padding: 2rem 1.5rem; /* Breathing room around the text */
  background-color: #FAFAFA; /* Soft, paper-like background color */
}

/* 3. Typography & Document Elements */
p { 
  font-size: 1.05rem;   /* Optimized for high readability */
  color: var(--color-black); 
  margin-bottom: 1.25rem;
}

/* Link styling tailored for downloadable PDFs and data files */
a { 
  font-family: var(--body-font); 
  /* color: var(--color-royal-blue); */
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;     /* Makes links stand out clearly in paragraphs */
  border-bottom: 1px dashed transparent;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-dark-red);
  border-bottom-color: var(--color-dark-red); /* Clean hover effect for files */
}

/* Heading hierarchy using Plus Jakarta Sans */
h1 { 
  font-family: var(--heading-font); 
  color: var(--color-dark-red); 
  font-size: 2.25rem; 
  font-weight: 800; 
  margin-bottom: 1.5rem;
}

h2 { 
  font-family: var(--heading-font); 
  /*color: var(--color-royal-blue);*/ 
  color: var(--color-black);
  font-size: 1.6rem; 
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 { 
  font-family: var(--heading-font); 
  color: var(--color-black); 
  font-size: 1.3rem; 
  font-weight: 700;
}

h4 { 
  font-family: var(--heading-font); 
  color: var(--color-black); 
  font-size: 1.15rem; 
  font-weight: 500;
}

h5 { 
  font-family: var(--heading-font);
  color: white; 
  font-size: 1rem; 
  background-color: var(--color-black); 
  padding: 6px 12px; 
  border-radius: 4px;   /* Subtle rounding on structural banners */
}

/* Lists - Perfect for bullets containing file downloads */
ul { 
  color: var(--color-black); /* Set text to black so it's easier to read than bright blue */
  padding-left: 1.75rem; 
  margin-bottom: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem; /* Adds space between your file list items */
}

/* 4. Data Tables & Schedules */
/* Cleans up raw tables into elegant, legible spreadsheets */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-variant-numeric: tabular-nums; /* Makes numbers line up perfectly vertically */
}

td { 
  font-size: 0.95rem; 
  color: var(--color-black); 
}

img { 
  max-width: 100%; 
  height: auto; 
  vertical-align: bottom; 
}

/* Legacy utility classes styled to fit the new look */
.SystemTitle {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-black);
}

.Data {
  font-size: 0.9rem;
  color: var(--color-black);
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top-width: 0;
  border-left-width: 0;
  vertical-align: top;
  padding: 10px 12px;   /* Generous padding for clean data rows */
}

.Header {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-black);
  background-color: #F5F5F5;
  border: 1px solid var(--color-border);
  border-top-width: 0;
  border-left-width: 0;
  text-align: center;
  vertical-align: middle;
  padding: 10px 12px;
}

.byline {
  font-size: 0.95rem;
  font-weight: bold;
  color: #555555;
}
